home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960425-19960715 / 000237_news@columbia.edu _Fri Jun 14 09:51:02 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id JAA07514 for <kermit.misc@watsun>; Fri, 14 Jun 1996 09:51:02 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id JAA20013 for kermit.misc@watsun; Fri, 14 Jun 1996 09:50:59 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: output command not working
  8. Date: 14 Jun 1996 13:50:52 GMT
  9. Organization: Columbia University
  10. Lines: 45
  11. Message-ID: <4prqns$jh3@apakabar.cc.columbia.edu>
  12. References: <01bb59a9.369fad80$9606848b@rmstephe.deakin.edu.au>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <01bb59a9.369fad80$9606848b@rmstephe.deakin.edu.au>,
  16. Robin Stephens <rmstephe@deakin.edu.au> wrote:
  17. : When I use the following take file there is a pause of 5 seconds
  18. : then login prompt shows and after 5 more seconds the "no password
  19. : prompt" error appears.
  20. : set file type binary
  21. : cd \rm53\download
  22. : set input case ignore
  23. : set output pacing 100
  24. : set com4 \x02e8 \5
  25. : set port 4
  26. : set speed 19200
  27. : set flow xon/xoff 
  28. : set term type vt100
  29. : set term bytesize 8
  30. : :LOOP
  31. : input 5 login:
  32. : if SUCCESS forward OK
  33. : output \13
  34. : goto LOOP
  35. : end 1 {no login prompt}
  36. : :OK
  37. : output xxxx\13
  38. : input 5 ssword:
  39. : if fail end 1 {no password prompt}
  40. : output xxxx\13
  41. Assuming this is MS-DOS Kermit trying to log in to a UNIX system, and
  42. the dialog is:
  43.  
  44. login: xxxx <carriage return>
  45. Password: xxxx <carriage return>
  46.  
  47. Why isn't it working?  The script looks right.  Maybe the dialog is not
  48. what you assumed?  Maybe 5 seconds isn't long enough for the password to
  49. appear.  Maybe the real script is not the same as the sample one shown above.
  50.  
  51. You'll have to debug it yourself.  Use "set input echo on" to watch what
  52. is happening.  Maybe also "set take echo on" and/or "log session".
  53.  
  54. - Frank